int sat; /* Optional: number of sats used for fix */
int heartrate; /* Beats per minute: likely to get moved to fs. */
+ float temperature; /* Degrees celsius */
geocache_data gc_data;
format_specific_data *fs;
void *extra_data; /* Extra data added by, say, a filter. */
void xcsv_setup_internal_style(const char *style_buf);
void xcsv_read_internal_style(const char *style_buf);
waypoint * find_waypt_by_name(const char *name);
-void waypt_backup(unsigned int *count, queue **head_bak);
-void waypt_restore(unsigned int count, queue *head_bak);
+void waypt_backup(signed int *count, queue **head_bak);
+void waypt_restore(signed int count, queue *head_bak);
route_head *route_head_alloc(void);
void route_add (waypoint *);
unsigned int route_waypt_count(void);
unsigned int route_count(void);
unsigned int track_count(void);
-void route_backup(unsigned int *count, queue **head_bak);
-void route_restore(unsigned int count, queue *head_bak);
-void track_backup(unsigned int *count, queue **head_bak);
-void track_restore(unsigned int count, queue *head_bak);
+void route_backup(signed int *count, queue **head_bak);
+void route_restore(signed int count, queue *head_bak);
+void track_backup(signed int *count, queue **head_bak);
+void track_restore(signed int count, queue *head_bak);
/*
* All shortname functions take a shortname handle as the first arg.
int did_something = 0;
const char *prog_name = argv[0]; /* argv is modified during processing */
queue *wpt_head_bak, *rte_head_bak, *trk_head_bak; /* #ifdef UTF8_SUPPORT */
- unsigned int wpt_ct_bak, rte_ct_bak, trk_ct_bak; /* #ifdef UTF8_SUPPORT */
+ signed int wpt_ct_bak, rte_ct_bak, trk_ct_bak; /* #ifdef UTF8_SUPPORT */
global_opts.objective = wptdata;
global_opts.masked_objective = NOTHINGMASK; /* this makes the default mask behaviour slightly different */
}
void
-route_backup(unsigned int *count, queue **head_bak)
+route_backup(signed int *count, queue **head_bak)
{
queue *elem, *tmp, *elem2, *tmp2;
queue *qbackup;
}
void
-route_restore(unsigned int count, queue *head_bak)
+route_restore(signed int count, queue *head_bak)
{
if (head_bak == NULL) return;
}
void
-track_backup(unsigned int *count, queue **head_bak)
+track_backup(signed int *count, queue **head_bak)
{
queue *elem, *tmp, *elem2, *tmp2;
queue *qbackup;
}
void
-track_restore(unsigned int count, queue *head_bak)
+track_restore(signed int count, queue *head_bak)
{
if (head_bak == NULL) return;
char *outstring, *out;
char *instr = in->utfstring;
char tag[8];
- short int taglen;
+ unsigned short int taglen = 0;
if (!in->is_html)
return xstrdup(in->utfstring);
}
void
-waypt_backup(unsigned int *count, queue **head_bak)
+waypt_backup(signed int *count, queue **head_bak)
{
queue *elem, *tmp, *qbackup;
waypoint *wpt;
}
void
-waypt_restore(unsigned int count, queue *head_bak)
+waypt_restore(signed int count, queue *head_bak)
{
if (head_bak == NULL) return;